<%--
    Document   : Menu
    Created on : 30-mar-2010, 17.43.49
    Author     : Rachid Ouchary, Fabio Strocco, Max Passaghe, Marco Tansini.
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Test casi d'uso</h1>
        <h3>Sei autenticato come <%= session.getAttribute(servlet.ServletUtil.SESSION_UTENTE) %></h3>
        <a href="MainDispatcher?operation=login&username=user&password=0000">Login</a><br/>
        <a href="MainDispatcher?operation=logout">Logout</a><br/>
        <a href='<%="MainDispatcher?operation=registrazione&username=user&password=0000&" +
                    "nome=Fabio&cognome=Strocco&citta=Torino&" +
                    "mail=myMail@mail.it"%>'>Registrazione</a><br/>
        <a href="MainDispatcher?operation=aggiungi_amico&username_amico=FABIO">Aggiungi Amico</a><br/>
        <a href="MainDispatcher?operation=cerca_amici&nome=FA">Cerca amici</a><br/>
        <a href="MainDispatcher?operation=crea_desiderio&categoria=10&descrizione=IPhone&priority=30&voto=100">Crea desiderio</a><br/>
        <a href="MainDispatcher?operation=aggiungi_desiderio&item_id=<%= session.getAttribute("tmp_id") %>&priority=30&voto=100">Aggiungi desiderio</a><br/>
    </body>
</html>
